package com.ybkj.o2o.zhuanche.mapper;

import com.ybkj.o2o.zhuanche.entity.OrderGroup;
import com.ybkj.o2o.zhuanche.entity.OrderGroupCriteria;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface OrderGroupMapper extends BaseMapper<OrderGroup, OrderGroupCriteria, Long> {
  Long countByExample(OrderGroupCriteria example);

  int deleteByExample(OrderGroupCriteria example);

  int deleteByPrimaryKey(Long id);

  int insert(OrderGroup record);

  int insertSelective(OrderGroup record);

  List<OrderGroup> selectByExampleWithRowbounds(OrderGroupCriteria example, RowBounds rowBounds);

  List<OrderGroup> selectByExample(OrderGroupCriteria example);

  OrderGroup selectByPrimaryKey(Long id);

  int updateByExampleSelective(@Param("record") OrderGroup record,
      @Param("example") OrderGroupCriteria example);

  int updateByExample(@Param("record") OrderGroup record,
      @Param("example") OrderGroupCriteria example);

  int updateByPrimaryKeySelective(OrderGroup record);

  int updateByPrimaryKey(OrderGroup record);
}
